#pragma once
//#include <string.h>
//#include <string>
//#include <algorithm>


//void AddText(const char *text, const int size);

class CGraphic
{
public:
	void AddText(const char *text, const int size)
	{
		for (int i = 0; i < size; ++i)
		{
			m_pBase[2 * i] = text[i];
			m_pBase[2 * i + 1] = 0x0f;
		}
	}
private:
	char *m_pBase = (char*)0xb8000;
};